package com.daiqee.pojo;

import com.baomidou.mybatisplus.enums.FieldStrategy;

import com.baomidou.mybatisplus.enums.IdType;
import com.daiqee.annotations.DateField;
import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;

import java.io.Serializable;

/**
 * 账户信息
 * <br/>
 * @since JDK 1.8
 * @version  V2.1
 * @author RichardTang 
 * @date: 2018年5月7日 下午5:42:09
 * @package com.daiqee.pojo
 * @copyright:Copyright (c) 2018, 1245811923@qq.com All Rights Reserved.
 */
@TableName("account_info")
public class AccountInfo extends LogicDeleteFlag implements Serializable{

    private static final long serialVersionUID = 1L;

    @TableId(value = "account_info_id", type = IdType.AUTO)
    private Integer accountInfoId;
    
    @TableField(strategy=FieldStrategy.NOT_EMPTY)
    private String accountInfoThem;				//账户主题
    
    @TableField(strategy=FieldStrategy.NOT_EMPTY)
    private String accountInfoCardNumber;		//开户账号
    
    @TableField(strategy=FieldStrategy.NOT_EMPTY)
    private String accountInfoBank;				//开户银行
    
    @TableField(strategy=FieldStrategy.NOT_EMPTY)
    private String accountInfoCardType;			//卡号类型
    
    private String accountInfoCardName;			//账户名称
    
    @DateField
    @TableField(strategy=FieldStrategy.NOT_EMPTY)
    @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
    private Date accountInfoCreateDate;			//开户日期
    
    @TableField(strategy=FieldStrategy.NOT_EMPTY)
    private String accountInfoAddress;			//开户地点
    
    private String accountInfoAgent;			//经办人
    
    private String accountInfoRemark;			//备注

    public Integer getAccountInfoId() {
        return accountInfoId;
    }

    public void setAccountInfoId(Integer accountInfoId) {
        this.accountInfoId = accountInfoId;
    }

    public String getAccountInfoThem() {
        return accountInfoThem;
    }

    public void setAccountInfoThem(String accountInfoThem) {
        this.accountInfoThem = accountInfoThem;
    }

    public String getAccountInfoCardNumber() {
        return accountInfoCardNumber;
    }

    public void setAccountInfoCardNumber(String accountInfoCardNumber) {
        this.accountInfoCardNumber = accountInfoCardNumber;
    }

    public String getAccountInfoBank() {
        return accountInfoBank;
    }

    public void setAccountInfoBank(String accountInfoBank) {
        this.accountInfoBank = accountInfoBank;
    }

    public String getAccountInfoCardType() {
        return accountInfoCardType;
    }

    public void setAccountInfoCardType(String accountInfoCardType) {
        this.accountInfoCardType = accountInfoCardType;
    }

    public String getAccountInfoCardName() {
        return accountInfoCardName;
    }

    public void setAccountInfoCardName(String accountInfoCardName) {
        this.accountInfoCardName = accountInfoCardName;
    }

    public Date getAccountInfoCreateDate() {
        return accountInfoCreateDate;
    }

    public void setAccountInfoCreateDate(Date accountInfoCreateDate) {
        this.accountInfoCreateDate = accountInfoCreateDate;
    }

    public String getAccountInfoAddress() {
        return accountInfoAddress;
    }

    public void setAccountInfoAddress(String accountInfoAddress) {
        this.accountInfoAddress = accountInfoAddress;
    }

    public String getAccountInfoAgent() {
        return accountInfoAgent;
    }

    public void setAccountInfoAgent(String accountInfoAgent) {
        this.accountInfoAgent = accountInfoAgent;
    }

    public String getAccountInfoRemark() {
        return accountInfoRemark;
    }

    public void setAccountInfoRemark(String accountInfoRemark) {
        this.accountInfoRemark = accountInfoRemark;
    }

    @Override
    public String toString() {
        return "AccountInfo{" +
        ", accountInfoId=" + accountInfoId +
        ", accountInfoThem=" + accountInfoThem +
        ", accountInfoCardNumber=" + accountInfoCardNumber +
        ", accountInfoBank=" + accountInfoBank +
        ", accountInfoCardType=" + accountInfoCardType +
        ", accountInfoCardName=" + accountInfoCardName +
        ", accountInfoCreateDate=" + accountInfoCreateDate +
        ", accountInfoAddress=" + accountInfoAddress +
        ", accountInfoAgent=" + accountInfoAgent +
        ", accountInfoRemark=" + accountInfoRemark +
        ", deleteFlag=" +
        "}";
    }
}
